package com.ruoyi.WELD.service;

import com.ruoyi.WELD.domain.Weld;
import com.ruoyi.WELD.domain.Welding;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IWeldingService {
     List<Welding> selectWeldingList(Welding welding);
     Welding selectWeldingById(Long id);
     int insertWelding(Welding welding);
     int updateWelding(Welding welding);
     int deleteWeldingById(Long id);
     String GenerateUpdate(Welding welding,Weld weld);
     String importWelding(List<Welding> WeldingList, Boolean isUpdateSupport);
     int deleteWeldingByIds(Long[] ids);
     List<Welding> selectWeldingByIds(Long[] ids);
     void exportByTemplate1(List<Welding> list, HttpServletResponse response);
     void exportByTemplate2(List<Welding> list, HttpServletResponse response);
     void exportByTemplate3(List<Welding> list, HttpServletResponse response);
     void ClearWelding();
}
